package be.rubengerits.bluetooth.tester.bluetooth;
import android.bluetooth.*;
import java.io.*;

abstract public class BluetoothHandler {

	private BluetoothSocket mSocket;
	
	public abstract void write(Object o) throws IOException;

	public abstract Object read(Object o) throws IOException;

	public void setBluetoothSocket(BluetoothSocket mSocket) {
		this.mSocket = mSocket;
	}

	public BluetoothSocket getBluetoothSocket() {
		return mSocket;
	}
}
